
<div id="footer-top">
        <div class="container">
        <div class="fl col">
                        <h3 class="title">Liên Hệ</h3>
                        <div class="content">
                            <ul class="lien_he">
                                <li class="location"><?php echo Yii::app()->params['address'];?></li>
                                <li class="phone"><?php echo Yii::app()->params['hot_line'];?></li>
                                <li class="mail"><a href="mailto:<?php echo Yii::app()->params['email'];?>"><?php echo Yii::app()->params['email'];?></a></li>
                            </ul>
                        </div>
                    </div>
        <?php
                $menu = MyFunctionCustom::getMenu(1);
                $i=1;
                $count=count($menu);
                foreach ($menu as $key => $value):?>
                    
                <?php
                $class='fl';
                if($i==$count)
                    $class= 'fr';
                    echo '<div class="'.$class.' col">';
                    echo '<h3 class="title">'.$value['MenuName'].'</h3>';
                    echo '<div class="content">';
                    echo '<ul class="list">';
                    $sub = MyFunctionCustom::getSubMenuByMenu($value['MenuId']);
                    foreach ($sub as $k => $v) {
                        echo '<li><a href="'.Yii::app()->baseUrl.'/'.$v['SubMenuNameRewrite'].'.html">'.$v['SubMenuName'].'</a></li>';
                    }
                    echo '</ul>';
                    echo '</div></div>';
                    $i++;
            endforeach;
        ?>
            <div class="clear"></div>
        </div>
<div id="footer">
        <div class="container">
            <div class="left fl">
                © 2013 GOXI
            </div>
            <div class="right fr">
                <ul>
                    <li><a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/frontend/images/icon_fb.png" width="31" height="31"></a></li>
                    <li><a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/frontend/images/icon_tw.png" width="31" height="31"></a></li>
                    <li><a href="#"><img src="<?php echo Yii::app()->theme->baseUrl; ?>/frontend/images/icon_gp.png" width="31" height="31"></a></li>
                </ul>
            </div>
            <div class="clear"></div>
        </div>
    </div>
    </body>
</html>